package com.example.springboot007servletsfilterslisteners;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

// 扫描@WebServlet注解

@ServletComponentScan(basePackages = "com.example.springboot007servletsfilterslisteners.servlet")
@SpringBootApplication
public class Springboot007ServletsFiltersListenersApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot007ServletsFiltersListenersApplication.class, args);
    }

}
